home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 21 / emacs / memacs.doc < prev    next >
Text File  |  1986-05-14  |  6KB  |  182 lines

  1.  
  2. microEmacs documentation
  3. ========================
  4.  
  5. (Current version is dated 03/04/86.)
  6.  
  7. This file describes microEmacs as it currently is in the version
  8. ported here at Case Western Reserve University.  The object file
  9. of the 03/04/86 version is 306xx bytes long.
  10.  
  11.  
  12. Differences
  13. -----------
  14. Here are some known differences between our version and the one that
  15. you get with the Developers Kit:
  16.  
  17. 1. Our version reads and writes files in chunks of 16k, and so it is much
  18.    faster than the original.
  19.  
  20. 2. ^Xk (or function key F5) will kill current buffer as a default.
  21.  
  22. 3. ^Xb (or F7) will switch to the next buffer as the default.
  23.  
  24. 4. When in search mode (ie. when you have hit ^S or ^R once)
  25.    ^S and ^R act as if CR is typed, but may reverse the search.
  26.  
  27. 5. Word-wrap has been deleted, as it was quite buggy.
  28.  
  29. 6. All special keys on the ST have been assigned useful functions; see
  30.    below.
  31.  
  32. 7. Quick-exit (UNDO key) will do a 'list-buffers' if there are changed but
  33.    unsaved buffers, and await your y/n reply.
  34.  
  35.  
  36. Key Bindings
  37. ------------
  38.  
  39. These are the key bindings, as they are in the ue.tos version of 01/18/86, or
  40. later.
  41.  
  42.    To change these bindings, recompile 'keybind.c', and link everything.
  43.    Two related files are (1) 'keynames.h' which #defines the F1 et al;
  44.    (2) 'keymap.c' which maps the scan codes to ascii values using the
  45.    intelligent key board of the ST.
  46.  
  47.  
  48. The standard control-, meta-key bindings, as they were in the original
  49. MicroEmacs, are also valid.
  50.  
  51. Original Bindings
  52.  
  53. C-@        set mark
  54. C-A        move to start of line
  55. C-B        move backward character
  56. C-C        run CLI in a subjob
  57. C-D        delete forward character
  58. C-E        move to end of line
  59. C-F        move forward character
  60. C-G        abort command
  61. C-H        delete backward character
  62. C-I        insert tab
  63. C-J        insert CR-LF, then indent
  64. C-K        kill forward
  65. C-L        refresh the screen
  66. C-M        insert CR-LF
  67. C-N        move forward line
  68. C-O        open up a blank line
  69. C-P        move backward line
  70. C-Q        insert literal character
  71. C-R        search backwards
  72. C-S        search forward
  73. C-T        swap characters around point
  74. C-U        universal argument
  75. C-V        move forward page
  76. C-W        kill region
  77. C-X        control-X prefix - see below
  78. C-Y        yank back from killbuffer
  79. C-Z        quick save and exit
  80. esc        meta prefix - see below
  81. del        delete backward character
  82.  
  83. M-C-H        delete backward word
  84. M-!        reposition window
  85. M-.        set mark
  86. M-<        move to start of buffer
  87. M->        move to end of buffer
  88. M-B        move backward word
  89. M-C        initial capitalize word
  90. M-D        delete forward word
  91. M-F        move forward word
  92. M-L        lower case word
  93. M-U        upper case word
  94. M-V        move backward page
  95. M-W        copy region to kill buffer
  96. M-del        delete backward word
  97.  
  98. C-X C-B        display list of buffers
  99. C-X C-C        quit without saving
  100. C-X C-F        adjust file name
  101. C-X C-L        lower case region
  102. C-X C-N        move window down
  103. C-X C-O        delete blank lines
  104. C-X C-P        move window up
  105. C-X C-R        get a file, read only
  106. C-X C-S        save current file
  107. C-X C-U        upper case region
  108. C-X C-V        get a file, read write
  109. C-X C-W        write a file
  110. C-X C-X        swap point and mark
  111. C-X C-Z        shrink window
  112.  
  113. C-X !        run a command in a subjob
  114. C-X (        begin macro
  115. C-X )        end macro
  116. C-X 1        make current window only one
  117. C-X 2        split current window
  118. C-X =        show the cursor position
  119. C-X B        switch a window to a buffer
  120. C-X E        execute macro
  121. C-X F        set fill column
  122. C-X K        make a buffer go away
  123. C-X N        move to the next window
  124. C-X P        move to the previous window
  125. C-X Z        enlarge display window
  126.  
  127.  
  128. Key Bindings on 520ST 
  129.  
  130.     The Function Keys alter the buffer and/or file content; so be
  131. cautious.  All the other special keys (the HELP-UNDO group, and the
  132. numeric keypad group) only change the display, and/or windows; so you
  133. can be playful with these.  The commands 'kill', 'yank' and 'read-file'
  134. don't work as they do in full Emacs; so watch out.
  135.  
  136. F1,    delbword,    /* delete preceding word            */
  137. F2,    delfword,    /* delete the next/current word            */
  138. F3,    kill,        /* kill current line to its end            */
  139. F4,    yank,        /* insert the deleted stuff back        */
  140. F5,    killbuffer,    /* kill [current] buffer; verifies if changed    */
  141. F6,     listbuffers,    /* list buffers, and their sizes; not accurate    */
  142. F7,    usebuffer,    /* switch to another existing/new buffer    */
  143. F8,    filewrite,    /* save current buffer to specified file    */
  144. F9,    filevisit,    /* read-in a file to edit            */
  145. F10     filesave,    /* save current buffer to its file        */
  146.  
  147. HELP,    help,        /* alas, not much help yet!            */
  148. UNDO,   quickexit,    /* quick save and exit                */
  149. INSERT,    backpage,    /* display page preceding current one        */
  150. HOME,    forwpage,    /* display page following current one        */
  151. UPARRO, backline,    /* move cursor to preceding line; readjust displ*/
  152. DNARRO,    forwline,    /* move cursor to next line; readjust display    */
  153. LTARRO,    backchar,    /* move cursor to preceding char        */
  154. RTARRO,    forwchar,    /* move cursor to following char        */
  155.  
  156.  
  157. keypad keys
  158. -----------
  159. KLP,    mvdnwind,    /* scroll window contents up (move window down)    */
  160. KRP,    mvupwind,    /* scroll window contents dn (move window up)    */
  161. KSLASH,    splitwind,    /* split current window into two        */
  162. KSTAR,    onlywind,    /* make the current window the only one        */
  163. KMINUS,    prevwind,    /* move cursor to preceding window, if any    */
  164. KPLUS,    nextwind,    /* move cursor to following window, if any    */
  165. KENTER,    ctlxe,        /* re-execute the key-board macro        */
  166. KDOT,    swapmark,    /* swap mark with dot; (shift-F1 sets mark)    */
  167. K0,    showcpos,    /* show cursor position numerically        */
  168.  
  169.  
  170. K7,    gotobob,    /* move cursor to beginning of buffer        */
  171. K8,    reposition,    /* reposition so that current line is at the top*/
  172. K9,    gotoeob,    /* move cursor to end of buffer            */
  173. K4,    backword,    /* move cursor to beginning of word        */
  174. K5,    backline,    /* move to prev line; same as up arrow        */
  175. K6,    forwword,    /* move cursor to end of word            */
  176. K1,    gotobol,    /* move cursor to beginning of current line    */
  177. K2,    forwline,    /* move to next line; same as dn arrow        */
  178. K3,    gotoeol,    /* move cursor to end of current line        */
  179.  
  180.  
  181. /* -eof- */
  182. ə